const express = require('express');

const router = express.Router();
const fs = require('fs');

router.use(express.json());
router.use(express.urlencoded({ extended: false }));

/**
 * GET /api/v1/albums
 * @summary This is the summary of the endpoint
 * @tags album
 * @return {array<Song>} 200 - success response - application/json
 * @responses:
 *  200:
 *    description: 数据获取成功 base
 *  400:
 *    description: Invalid ID supplied
 *  404:
 *    description: swiper not found
 * @example response - 200 - success response example
 * [
 *   {
 *     "title": "Bury the light",
 *     "artist": "Casey Edwards ft. Victor Borba",
 *     "year": 2020
 *   }
 * ]
 */
router.post('/files/upload', (req, res) => {
  res.json({ data: '', message: '文件上传' });
});
module.exports = router;
